package com.example.fms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.fms.dto.req.UserReqDto;
import com.example.fms.dto.resp.UserRespDto;
import com.example.fms.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<UserRespDto> getUserList(Page<UserRespDto> page, @Param("req")UserReqDto req);
}
